package Lesson2;

import java.util.Scanner;

public class exerrrr {

	public static void main(String[] args) {

		Scanner sc = new Scanner (System.in);
			System.out.println("Please add a number: ");
		int n = sc.nextInt();
		
		int a = 0;
		int b = 1;
		
		
		for(int i = 1; i<=n; i++)
			
		{   System.out.print(i + ". ");
			System.out.println(a+ " ");
			int sum = a+b;
			a=b;
			b=sum;
		
		
		}
		
		
	}

}
